From e1cdccbccd822844dd4b6a5eb89be935991156b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Wed, 15 Oct 2025 19:28:56 +0200 Subject: [PATCH] luci-mod-network: retitle dhcp/dns views MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit And remove a confusing reference to dnsmasq at the top of each page, the message is a bit of a non-sequitur and doesn't really add any useful information. Signed-off-by: David Härdeman --- .../htdocs/luci-static/resources/view/network/dhcp.js | 3 +-- .../htdocs/luci-static/resources/view/network/dns.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index 573656af87..3f437fcbbe 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -348,8 +348,7 @@ return view.extend({ return template.replace(/\{(\w+)\}/g, (match, key) => values[key] || match); }; - m = new form.Map('dhcp', _('DHCP and DNS'), - _('Dnsmasq is a lightweight DHCP server and DNS forwarder.')); + m = new form.Map('dhcp', _('DHCP')); s = m.section(form.TypedSection, 'dnsmasq'); s.anonymous = false; diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dns.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dns.js index 04a83c6c01..e10766f72a 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dns.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dns.js @@ -349,8 +349,7 @@ return view.extend({ return template.replace(/\{(\w+)\}/g, (match, key) => values[key] || match); }; - m = new form.Map('dhcp', _('DHCP and DNS'), - _('Dnsmasq is a lightweight DHCP server and DNS forwarder.')); + m = new form.Map('dhcp', _('DNS')); s = m.section(form.TypedSection, 'dnsmasq'); s.anonymous = false; -- 2.30.2